package day03;

public class OperDemo5 {
    public static void main(String[] args) {
        int age=18;
        System.out.println("age="+age);
        System.out.println("大家好，我今年"+age+"岁了");
        String name="LY";
        System.out.println("大家好，我叫"+name+",今年"+age+"岁了");
        int score=150;
        System.out.println("刘阳数学成绩为"+score+"分");
        System.out.println(10+20+"score"+10);//30score10
        System.out.println(10+"score"+20+1);//10score201
        System.out.println("score"+2+0+2+4);//score2024
        System.out.println("score"+8+30);//score830
        System.out.println("age"+18);//age18
        System.out.println("price"+2.5);//price

    }
}
